package com.segersten.othello.service.akka.lobby;

import java.util.HashMap;
import java.util.Map;

import com.segersten.othello.service.akka.Auth;

public class GameFinishedAction {

	private BoardReference reference;
	private Map<Auth,Integer> scores = new HashMap<Auth,Integer>();
	
	public GameFinishedAction(BoardReference reference, Auth blackPlayer, int playerBlackPoints, Auth whitePlayer,
			int playerWhitePoints) {
		this.reference = reference;
		scores.put(blackPlayer, playerBlackPoints);
		scores.put(whitePlayer, playerWhitePoints);
	}
	
	public BoardReference getBoardReference() {
		return reference;
	}
	public void setBoardReference(BoardReference reference) {
		this.reference = reference;
	}

	public Map<Auth,Integer> getScores() {
		return scores;
	}
	
}
